package com.gitee.fantaros;

import com.gitee.fantaros.engine.FanJsEngine;

public class Main {
    public static void main(String[] args) throws Exception {

        FanJsEngine fanJsEngine = FanJsEngine.getInstance();
        long start = System.currentTimeMillis();
        fanJsEngine.info("start main.js");
        fanJsEngine.loadJs("scripts/main.js");
        fanJsEngine.info("end main.js, elaspe: " + ((System.currentTimeMillis() - start) / 1000.0) + "s");
    }
}